//package cn.chinaunicom.dingtalk.sender.controller;
//
//import cn.chinaunicom.dingtalk.sender.entity.interactive.InteractiveCardVo;
//import cn.chinaunicom.dingtalk.sender.service.IDingTalkService;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import javax.annotation.Resource;
//
//@RestController
//@RequestMapping("/dingtalk")
//public class DingTalkController {
//
//    @Resource
//    private IDingTalkService dingTalkService;
//
//
//    @PostMapping(value = "/card/interactiveCards/send", produces = "application/json", name = "发送高级卡片")
//    public String sendInteractiveCards(@RequestBody InteractiveCardVo cards) throws Exception {
//        return dingTalkService.sendInteractiveCards(cards);
//    }
//
//    @PostMapping(value = "/card/interactiveCards/update", produces = "application/json", name = "发送高级卡片")
//    public void updateInteractiveCards(@RequestBody InteractiveCardVo cards) throws Exception {
//        dingTalkService.updateInteractiveCards(cards);
//    }
//}
